#include <BustaNetInternal.h>
Inheritance diagram for MPServerSettings:
Public Member Functions | |
MPServerSettings (char *sName, int nClients, netClient **sClients) | |
CONSTRUCTOR. | |
~MPServerSettings () | |
DESTRUCTOR. | |
char * | getServerName () |
Returns the name of the server. | |
int | getNumClients () |
Returns the number of connected clients. | |
netClient * | getClient (int index) |
Returns a connected client's information. | |
netClient ** | getClients () |
Returns connected client information. | |
void | setServerName (char *newName) |
Sets the recorded server name. |
This message contains information about the game server. This includes the server name, the number of connected clients, and client information.
|
CONSTRUCTOR. Creates an instance of the MPServerSettings class.
|
|
DESTRUCTOR. Frees memory associated with message. |
|
Returns a connected client's information. The server maintains a listing of all clients connected to it. This method returns the information about a single one of those clients.
|
|
Returns connected client information. The server maintains a listing of all clients connected to it. This method returns the information about those clients in an array.
|
|
Returns the number of connected clients. Returns the number of clients connected to the game server.
|
|
Returns the name of the server. Each game server is allowed to have a specific name. This method returns the name of the server when a MPServerSettings message is received.
|
|
Sets the recorded server name. Sets the client's perception of what the server's name is to the client.
|